package com.java.base.exercise.proxy;

import com.java.base.exercise.proxymoudle.UserApi;

/**
 * @Author RenPu
 * @Date 2022/7/13 16:15
 * @Version 1.0
 * @Description:
 **/
public class test_CglibProxyXF {

    public static void main(String[] args) {
        CglibProxyXF proxyXF = new CglibProxyXF();
        UserApi userImpl = (UserApi)proxyXF.newInstall(new UserApi());
        String userInfo = userImpl.queryUserInfo();
        System.out.println("鸡皮温度计："+userInfo);

    }


}
